<%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" %>
<%@ page import="domain.RegisteredUser" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
<title></title>
<link href="style.css" rel="stylesheet" type="text/css" />
<script src="includes/ice/ice.js" type="text/javascript"></script>
<style type="text/css">
body, td, th {
	font-size: 36px;
}
</style>
</head>
<body>
<div id="outside">
  <div class="page">
    <div class="box">
      <div class="top" id="top">
        <div><img src="images/logo.JPG"/></div>
      </div>
      <div class="bar"></div>
      <div class="content"> 
        <!--左边的菜单-->
        <div class="leftpart" id="leftpart"> 
          <!-- leftpart -->
          <div id="current_info">欢迎:
          <%if (request.getSession().getAttribute("user") != null) { %>
          <%=new String(((RegisteredUser)request.getSession().getAttribute("user")).getUserName().getBytes("ISO8859_1"), "utf-8")%>
          <%} else { %>
          游客
          <%} %>
          来到淘淘网</div>
          <div class="line"></div>
          <div id="menu"> 
            <!-- menu --> 
            <a href="user?action=userinfo" target="contentFrame">
            <div class="left" style="font-size:18px; color: #60C;">个人信息</div>
            </a>
            <div> 
              <div class="left" onclick="this.slideToggle('fast');" style="font-size:18px; color: #60C;">商品分类</div>
              <div>
                <div>
                  <div class="leftchild" style="font-size:14px; color: #60C;"><a href="#">图书分类</a></div>
                  <div>
                    <div class="leftli"><a href="" target="contentFrame">社会科学</a></div>
                    <div class="leftli">心理学/励志</div>
                    <div class="leftli">信息技术/计算机</div>
                    <div class="leftli">教育学</div>
                    <div class="leftli">经济贸易</div>
                    <div class="leftli">财务会计</div>
                  </div>
                </div>
                <div>
                  <div class="leftchild"><a href="#"></a></div>
                </div>
                <div>
                  <div class="leftchild"style="font-size:14px; color: #60C;"><a href="#">服装订购</a></div>
                  <div>
                    <div class="leftli">时装精品</div>
                    <div class="leftli">反季促销</div>
                  </div>
                </div>
                <div>
                  <div class="leftchild" style="font-size:14px; color: #60C;"><a href="#">器材批发</a></div>
                  <div>
                    <div class="leftli">运动器材</div>
                    <div class="leftli">大型机械</div>
                    <div class="leftli">手工艺品</div>
                  </div>
                </div>
              </div>
            </div>
            <div> 
              <a href="register?action=exit" target="contentFrame">
              <div class="left" style="font-size:18px; color: #60C;">退出登录</div>
              </a> </div>
            <div>
              <div class="left leftend" style="font-size:18px; color: #60C;">联系客服</div>
              <div>
                <div class="leftchildempty"><a href="pages/soa6.htm" target="contentFrame">1</a></div>
                <div class="leftchild leftend"><a href="pages/soa7.htm" target="contentFrame">2</a></div>
              </div>
            </div>
          </div>
        </div>
        <div class="rightpart"><div class="innerframe">
            <div>
              <div  style="float:left; width:340px; height:200px;" >
              	<p>
                	<img src="images/goods1.jpg" width="341" height="146"/>
                </p><a href="show?action=show&goodsid=4">
                <div style="font-size:20px; background-color: #FFF; margin-left: 40px; margin-right: 40px; margin-top: 15px; text-align: center; color: #F63; margin-bottom: 0px;">联想Y470&nbsp;&nbsp;参考价格：6999</div></a>
              </div>    
              <div  style="float:right; width:340px; height:200px">
               <div  style="float:left; width:340px; height:200px" >
              	<p> 
                	</p><p><img height="146" width="341" src="images/goods2.jpg" /> 
                </p><a href="show?action=show&goodsid=5">
                <div style="font-size:20px; background-color: #FFF; margin-left: 40px; margin-right: 40px; margin-top: 15px; text-align: center; color: #F63; margin-bottom: 0px;">itouch(8G)&nbsp;&nbsp;参考价格：1798</div></a>
              </div>    
              </div>
            </div>
            <div>
              <div  style="float:left; width:340px; height:200px" >
              
               <div  style="float:left; width:340px; height:200px;margin-left: 5px;" >
              	<p>
                	<img src="images/goods3.jpg" width="341" height="146" />
                </p><a href="show?action=show&goodsid=6">
                <div style="font-size:20px; background-color: #FFF; margin-left: 40px; margin-right: 40px; margin-top: 15px; text-align: center; color: #F63; margin-bottom: 0px;">硬盘500G&nbsp;&nbsp;参考价格：398</div></a>
              </div>    </div>
              <div  style="width:340px; height:200px; float:right">
               <div  style="float:left; width:340px; height:200px" >
              	<p>
                	<img src="images/goods4.jpg" width="341" height="146"/>
                </p><a href="show?action=show&goodsid=7">
                <div style="font-size:20px; background-color: #FFF; margin-left: 40px; margin-right: 40px; margin-top: 15px; text-align: center; color: #F63; margin-bottom: 0px;">nikon相机&nbsp;&nbsp;参考价格：3999</div></a>
              </div>    
              </div>
            </div>
            <div>
              <div  style="float:left; width:340px; height:200px" >
               <div  style="float:left; width:340px; height:200px;margin-left: 5px;" >
              	<p>
                	<img src="images/goods5.jpg" width="341" height="146"/>
                </p><a href="show?action=show&goodsid=8">
                <div style="font-size:20px; background-color: #FFF; margin-left: 40px; margin-right: 40px; margin-top: 15px; text-align: center; color: #F63; margin-bottom: 0px;">winXP&nbsp;&nbsp;参考价格：399</div></a>
              </div>    
              </div>
              <div  style="width:340px; height:200px; float:right">
               <div  style="float:left; width:340px; height:200px" >
              	<p>
                	<img src="images/goods6.jpg" width="341" height="146"/>
                </p><a href="show?action=show&goodsid=9">
                <div style="font-size:20px; background-color: #FFF; margin-left: 40px; margin-right: 40px; margin-top: 15px; text-align: center; color: #F63; margin-bottom: 0px;">华硕主板&nbsp;&nbsp;参考价格：499</div></a>
              </div>    
              </div>
            </div>
          </div>
        </div>
        <!--右边的框框(END)--> 
      </div>
      <!--end content --> 
      <!-- 底部 -->
      <div class="bottom">
        <div class="bottomul">
          <div class="bottomul1">
            <div class="btext">电子邮件：532486390@qq.com</div>
            <div class="btext">联系方式：华中科技大学软件学院</div>
          </div>
          <div class="bottomul2">
            <div class="btext">通讯地址：华中科技大学韵苑16栋208室</div>
            <div class="btext">联系电话：15271935616</div>
          </div>
          <div class="bottomul3">
            <div class="btext">制作：华科09软件学院</div>
            <div class="btext">指导老师：任宏萍</div>
          </div>
        </div>
      </div>
    </div>
    <!-- 底部(END) --> 
  </div>
  <!-- box --> 
</div>
<!-- page -->
<div class="shadow_down"></div>
</body>
</html>
<script language="JavaScript" src="js/menu.js" type="text/javascript"></script>
<script language="JavaScript" src="js/slide.js" type="text/javascript"></script>
<script language="JavaScript" src="js/index.js" type="text/javascript"></script>
<!--[if lte IE 6]>
<script type="text/javascript" language="Javascript" src="js/hover.js"></script>
<![endif]-->
<script type="text/javascript" language="Javascript" src="js/hover.js"></script>